/*
 * ReqIfImportDto.java
 * Copyright 2022 HuaWang Tech, all rights reserved.
 * HuaWang PROPRIETARY/CONFIDENTIAL, any form of usage is subject to approval.
 */

package com.huawang.mdesign.model.service.dto;

import com.huawang.business.constants.ParamErrorConstants;
import com.huawang.business.dto.ProjectIdDTO;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
public class ImportDTO extends ProjectIdDTO {

    @NotBlank(message = ParamErrorConstants.NO_PROJECT_ID)
    private String projectId;

    private String parentId;

    @NotBlank(message = ParamErrorConstants.NO_FILEPATH)
    private String filePath;
}
